import request from '@/utils/request'

export function userInfo(params) {
  return request({
    url: '/admin/user-info',
    method: 'get',
    params
  })
}

export function updateUser(data) {
  return request({
    url: '/admin/update-user',
    method: 'post',
    data
  })
}

export function delAccount(params) {
  return request({
    url: '/admin/del-account',
    method: 'get',
    params
  })
}
